package com.lzh.persevere.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.persevere.model.entity.FanInfo;

/**
 * 标签表数据库访问层
 *
 * @author luzhiheng
 * @since 2025-07-19
 */
public interface FanInfoMapper extends BaseMapper<FanInfo> {

    /**
     * 取消关注
     *
     * @param currentUserId 当前用户ID
     * @param fanId         关注的用户ID
     */
    void cancelFollow(Long currentUserId, String fanId);
}

